Skip to content

test: PR requires e2e tests to pass#2221

Merged
bosbaber merged 3 commits into
mainfrom
stephan/int1-629
Jul 10, 2026
Merged

test: PR requires e2e tests to pass#2221
bosbaber merged 3 commits into
mainfrom
stephan/int1-629

Conversation

@bosbaber

@bosbaber bosbaber commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

TL;DR - PRs will now trigger running of automated e2e tests


Auto generated

This pull request introduces a comprehensive end-to-end (E2E) test for cross-currency payment transfers between EUR and USD accounts in the wallet application. It adds a new scenario to the feature file, implements all related test steps and helper functions, and ensures the E2E workflow is executed in CI via GitHub Actions. The main changes are grouped below.

E2E Cross-currency Payment Test Implementation:

  • Added a new scenario "User can send a cross-currency payment" to the cross-currency-transfer.feature, covering the full user flow from account setup, deposit, payment, and transaction verification.
  • Implemented all test steps for this scenario in cross-currency-transfer.steps.ts, including logic for account creation, deposits, sending payments, confirmation, and transaction polling with robust handling for asynchronous settlement. [1] [2]
  • Added helper functions such as findTransaction and parseAmountFromText to reliably locate and verify transactions on the relevant account pages, handling timing and parsing issues.

Test State and Workflow Enhancements:

  • Extended the FlowState type in fixtures.ts to track all necessary state for cross-currency transfers (account IDs, paths, wallet addresses, and expected amounts).
  • Added a new GitHub Actions workflow .github/workflows/e2e.yml to run Playwright E2E tests in CI, including setup, environment configuration, service orchestration, and test artifact uploads.

@bosbaber bosbaber self-assigned this Jul 3, 2026
@github-actions github-actions Bot added the type: ci Changes to CI workflows label Jul 3, 2026
@bosbaber bosbaber requested a review from Copilot July 3, 2026 11:50

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR introduces a new GitHub Actions workflow to run the repository’s Playwright E2E suite against the full “local stack” (Docker Compose services + host-run apps) on pull requests targeting main, making E2E results available as a required CI signal.

Changes:

  • Adds .github/workflows/e2e.yml to run pnpm local:setup, start the host apps, wait for readiness, and execute pnpm e2e:test.
  • Uploads Playwright artifacts (playwright-report, test-results) and dumps service logs on failure.

Comment thread .github/workflows/e2e.yml
Comment thread .github/workflows/e2e.yml
Comment thread .github/workflows/e2e.yml
Comment thread .github/workflows/e2e.yml Outdated
@bosbaber bosbaber marked this pull request as ready for review July 10, 2026 10:12
@bosbaber bosbaber requested a review from dragosp1011 July 10, 2026 10:13
@bosbaber bosbaber merged commit d934e20 into main Jul 10, 2026
14 checks passed
@bosbaber bosbaber deleted the stephan/int1-629 branch July 10, 2026 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: ci Changes to CI workflows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants